ADP\BaseVersion\Includes\AdminExtensions\AdminPage\Tabs\Rules B

Total Complexity 82
Dependencies 9
Dependents 0
Total lines 821
Lines of code 674
Logical lines of code 185
Comment lines 27
Methods 33
Properties 3

Methods 33

Method Rating Maintainability Complexity Lines of code
makeGetRulesArgs()
B
40 19 59
getViewVariables()
B
33 14 95
getAllAvailableTypes()
A
30 1 246
getScriptData()
A
34 7 102
handleSubmitAction()
S
52 7 22
getSearchQueryIfExists()
S
76 4 3
getAllAvailablePersistenceTypes()
S
58 1 19
getIsOnlyInactive()
S
78 2 3
getIsOnlyActive()
S
78 2 3
getBulkAction()
S
78 2 3
enqueueScripts()
S
63 1 11
discountAmount()
S
71 1 6
setDiscountAmount()
S
71 1 6
measurementWeight()
S
71 1 6
rangeDiscountAmount()
S
71 1 6
measurementSum()
S
71 1 6
priceFixed()
S
71 1 6
setPriceFixed()
S
71 1 6
rangePriceFixed()
S
71 1 6
measurementQty()
S
71 1 6
discountPercentage()
S
71 1 6
__construct()
S
73 1 5
registerAjax()
S
91 1 2
withContext()
S
81 1 3
getActive()
S
79 1 3
getIsHideInactive()
S
79 1 3
getPaginationHtml()
S
65 1 9
getTabRules()
S
67 1 8
getTitle()
S
79 1 3
getKey()
S
81 1 3
getHeaderDisplayPriority()
S
81 1 3
getRelativeViewPath()
S
81 1 3
formatOutput()
S
78 1 3